RiCal::Component::Event's dtstart is a badly formed TimeWithZone and breaks under Rails3
Reported by David Lee | August 19th, 2010 @ 08:24 PM
The TimeWithZone is instantiated with a DateTime instead of a Time object, breaking under Rails3.
Example:
x = RiCal.Event {|e| e.rrule = "FREQ=DAILY;INTERVAL=1"; e.dtstart = Time.now}
x.occurrences(:count => 1).first.dtstart.getlocal
Comments and changes to this ticket
-
John Firebaugh August 23rd, 2010 @ 12:30 PM
I filed a rails ticket for essentially the same issue:
https://rails.lighthouseapp.com/projects/8994/tickets/5344-localtim...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
A new icalendar data (RFC 2445) gem for Ruby which supports time zones and enumeration of occurrences